
		class Candidate {
			
			String secondname;
			int votes;
			float percentage;
			
			public Candidate(String sn, int vt){
				
			secondname = sn;
			votes = vt;
			percentage = 0;
			}
			
			public String getDetails(){
				return (secondname + " " + votes + " votes (" + percentage + " percent)" );
			}
			
			public int getVotes(){
				return this.votes;
			}
			
			public void setPercentage(float i){
				percentage = i;
			}

}
